[INFO] cloning repository https://github.com/pixlark/rust-2048
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pixlark/rust-2048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c4cad366c974d5471e6db2a1b727b8c9133b342
[INFO] building pixlark/rust-2048 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpixlark%2Frust-2048" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/pixlark/rust-2048 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/pixlark/rust-2048
[INFO] finished tweaking git repo https://github.com/pixlark/rust-2048
[INFO] tweaked toml for git repo https://github.com/pixlark/rust-2048 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/pixlark/rust-2048 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d2cc749497cce7f4a786df3fcc105af39170d17cf83a70ec4d4dbf7140cec916
[INFO] running `Command { std: "docker" "start" "-a" "d2cc749497cce7f4a786df3fcc105af39170d17cf83a70ec4d4dbf7140cec916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2cc749497cce7f4a786df3fcc105af39170d17cf83a70ec4d4dbf7140cec916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2cc749497cce7f4a786df3fcc105af39170d17cf83a70ec4d4dbf7140cec916", kill_on_drop: false }`
[INFO] [stdout] d2cc749497cce7f4a786df3fcc105af39170d17cf83a70ec4d4dbf7140cec916
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98384c7c59721a6fcc9f469d7ce1c0b7e731bbf9841bf449c29b914db864f2b9
[INFO] running `Command { std: "docker" "start" "-a" "98384c7c59721a6fcc9f469d7ce1c0b7e731bbf9841bf449c29b914db864f2b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling sdl2-sys v0.31.0
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling game-2048 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_xorshift v0.1.0
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.0
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling rand_chacha v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling rand v0.6.1
[INFO] [stderr]    Compiling rand v0.4.3
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling sdl2 v0.31.0
[INFO] [stdout] warning: unused import: `sdl2::video::WindowContext`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sdl2::video::WindowContext;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `v2` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct v2 {
[INFO] [stdout]    |        ^^ help: convert the identifier to upper camel case (notice the capitalization): `V2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `rand::Rng::choose`: use SliceRandom::choose instead
[INFO] [stdout]    --> src/main.rs:267:32
[INFO] [stdout]     |
[INFO] [stdout] 267 |         let choice: u64 = *rng.choose(&[2, 4]).unwrap();
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state_stack`
[INFO] [stdout]    --> src/main.rs:321:13
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut state_stack: Vec<Box<dyn GameState>> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_stack`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:321:9
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let mut state_stack: Vec<Box<dyn GameState>> = Vec::new();
[INFO] [stdout]     |         ----^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlayingState` is never constructed
[INFO] [stdout]    --> src/main.rs:301:8
[INFO] [stdout]     |
[INFO] [stdout] 301 | struct PlayingState {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_fitness` is never used
[INFO] [stdout]    --> src/main.rs:270:8
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn get_fitness(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `color_map` should have an upper case name
[INFO] [stdout]   --> src/main.rs:27:16
[INFO] [stdout]    |
[INFO] [stdout] 27 |     static ref color_map: HashMap<u64, Color> = {
[INFO] [stdout]    |                ^^^^^^^^^ help: convert the identifier to upper case: `COLOR_MAP`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 | /                     canvas.copy(
[INFO] [stdout] 160 | |                         &texture,
[INFO] [stdout] 161 | |                         None,
[INFO] [stdout] 162 | |                         Some(Rect::new(
[INFO] [stdout] ...   |
[INFO] [stdout] 167 | |                         )),
[INFO] [stdout] 168 | |                     );
[INFO] [stdout]     | |______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustc4bGH3O/symbols.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.game_2048.d5d7d755-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872.mmoykvp9rwtfb2l.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblazy_static-440be9e5f08404f5.rlib" "/opt/rustwide/target/debug/deps/libsdl2-ac6769d0451e996e.rlib" "/opt/rustwide/target/debug/deps/librand-3f776aeff4042afe.rlib" "/opt/rustwide/target/debug/deps/librand-11128830170b994a.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-7a98e2d94c7ee681.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e0f7dbb2934afe82.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-edf244ecdb61ba64.rlib" "/opt/rustwide/target/debug/deps/libnum-d10c57cc5c579d95.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-76cd0787e91177d6.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-096c067680cf9d3f.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-9486a05c2fb1b639.rlib" "/opt/rustwide/target/debug/deps/librand-989847f51d1b0453.rlib" "/opt/rustwide/target/debug/deps/liblibc-bcea9e469b1a3488.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-c0f85cce9733dcfc.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-96c8fbf430a9cb4f.rlib" "/opt/rustwide/target/debug/deps/librand_hc-127b38508504ba88.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-01e679f861b8af50.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-91a76e20f2af1f6d.rlib" "/opt/rustwide/target/debug/deps/librand_core-59265aa4cf82afb6.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/game_2048-aa1dcbf10cf83872" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_ttf
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game-2048` due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "98384c7c59721a6fcc9f469d7ce1c0b7e731bbf9841bf449c29b914db864f2b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98384c7c59721a6fcc9f469d7ce1c0b7e731bbf9841bf449c29b914db864f2b9", kill_on_drop: false }`
[INFO] [stdout] 98384c7c59721a6fcc9f469d7ce1c0b7e731bbf9841bf449c29b914db864f2b9
